package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.system.entity.SysUserCompanyRel;
import org.jeecg.modules.system.vo.SysUserCompanyVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Description: sys_user_company_rel
 * @Author: jeecg-boot
 * @Date:   2023-08-30
 * @Version: V1.0
 */
public interface ISysUserCompanyRelService extends IService<SysUserCompanyRel> {

    String queryCompanyNameByCompanyCode(String companyCode);

    List<SysUserCompanyRel> pageList(SysUserCompanyRel sysUserCompanyRel);

    Result saveCompany(SysUserCompanyVo sysUserCompanyVo);

}
